//
//  PhotoCameraOverlayView.h
//  XPhoto
//
//  Created by baboy on 2019/6/10.
//  Copyright © 2019 baboy. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BKDialPlateView.h"

NS_ASSUME_NONNULL_BEGIN
@protocol PhotoCameraOverlayViewDelegate;

@interface PhotoCameraOverlayView : UIView

@property(nonatomic, strong) IBOutlet UIView *bottomPannel;
@property(nonatomic, strong) IBOutlet UIButton *shootButton;
@property(nonatomic, strong) IBOutlet UIButton *deviceButton;
@property(nonatomic, strong) IBOutlet UIButton *cancelButton;
@property(nonatomic, strong) IBOutlet UIButton *nextButton;
@property(nonatomic, strong) IBOutlet UIScrollView *previewContainer;
@property(nonatomic, strong) IBOutlet UIButton *previewButton;
@property(nonatomic, strong) IBOutlet UILabel *photoCountLabel;
@property(nonatomic, strong) IBOutlet BKDialPlateView *dialPlateView;


@property(nonatomic, assign) id<PhotoCameraOverlayViewDelegate> delegate;

- (IBAction)nextStep:(id)button;
- (IBAction)cancel:(id)button;
- (IBAction)changeCamera:(id)button;
- (IBAction)takePhoto:(id)button;
- (IBAction)preview:(id)button;
@end

@protocol PhotoCameraOverlayViewDelegate <NSObject>

@optional
- (void)overlayView:(id)view clickTakePhotoButton:(id)button;
- (void)overlayView:(id)view clickDeviceButton:(id)button;
- (void)overlayView:(id)view clickCancelButton:(id)button;
- (void)overlayView:(id)view clickNextButton:(id)button;
- (void)overlayView:(id)view clickPreviewButton:(id)button;

@end

NS_ASSUME_NONNULL_END
